package com.lowcodeai.auth.dto;

import lombok.Data;

import java.util.List;

/**
 * 登录响应DTO
 * 
 * @author LowCodeAI
 * @since 1.0.0
 */
@Data
public class LoginResponse {

    private String token;

    private String refreshToken;

    private Long expiresIn;

    private UserInfo userInfo;

    private List<String> permissions;

    @Data
    public static class UserInfo {
        private Long id;
        private String username;
        private String nickname;
        private String email;
        private String phone;
        private String avatar;
        private String tenantId;
    }
} 